package org.ejc.persist.model;

import java.io.Serializable;
import java.util.Set;
import org.apache.commons.lang.builder.ToStringBuilder;


/** @author Hibernate CodeGenerator */
public class RegistrantStatusType implements Serializable {

    /** identifier field */
    private Integer id;

    /** persistent field */
    private String statusDesc;

    /** persistent field */
    private Set conventionRegistrants;

    /** full constructor */
    public RegistrantStatusType(Integer id, String statusDesc, Set conventionRegistrants) {
        this.id = id;
        this.statusDesc = statusDesc;
        this.conventionRegistrants = conventionRegistrants;
    }

    /** default constructor */
    public RegistrantStatusType() {
    }

    public Integer getId() {
        return this.id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getStatusDesc() {
        return this.statusDesc;
    }

    public void setStatusDesc(String statusDesc) {
        this.statusDesc = statusDesc;
    }

    public Set getConventionRegistrants() {
        return this.conventionRegistrants;
    }

    public void setConventionRegistrants(Set conventionRegistrants) {
        this.conventionRegistrants = conventionRegistrants;
    }

    public String toString() {
        return new ToStringBuilder(this)
            .append("id", getId())
            .toString();
    }

}
